<#include "/common/_layout.html"/>
<@layout>
<div class="table_box">
	<table class="list">
		<tbody>
			<tr>
				<th width="2%">id</th>
				<th width="5%">姓名</th>
				<th width="10%">手机</th>
				<th width="15%">微信码</th>
				<th width="5%">是否领取</th>
				<th width="5%">验证码</th>
				<th width="10%">时间</th>
				<th width="10%">操作<font color="#FF0000">(共${blogPage.getList().size()}人)</th>
			</tr>
			
			<#list blogPage.getList() as x>
			<tr>
				<td style="text-align:left;">${x.id}</td>
				<td style="text-align:left;">${x.name}</td>
								<td style="text-align:left;">${x.phone}</font></td>
				<td style="text-align:left;">${x.openid}</td>
				<td style="text-align:left;">
				<#if x.is_get == 0>
   				未领取
   				 <#elseif x.is_get == 1>
   				 已领取
				</#if>
				</td>
				<td style="text-align:left;">${x.code}</td>
				<td style="text-align:left;">${x.time}</td>
								
				<td style="text-align:left;">
					&nbsp;&nbsp;<a href="/lanlan/custome/delete/${x.id}">删除</a>
				<#if x.is_get == 0>
   				&nbsp;&nbsp;<a href="/lanlan/custome/get/${x.id}">领取</a>
				</#if>
					
				</td>
			</tr>
			</#list>
		</tbody>
	</table>
	<#include "/common/_paginate.html" />
	<@paginate currentPage=blogPage.pageNumber totalPage=blogPage.totalPage actionUrl="/lanlan/custome/" />
</div>
</@layout>